What is the most efficient way to pass data (list of pairs of [Integer + Double]) between two Google App Engine instances?
Posted
by
ruslan
on Stack Overflow
See other posts from Stack Overflow
or by ruslan
Published on 2011-11-24T01:44:29Z
Indexed on
2011/11/24
1:51 UTC
Read the original article
Hit count: 162
What is the most efficient way to pass data (list of pairs of [Integer, Double]) between two Google App Engine instances ?
Currently I use Java binary serialization. Frontend servlet receives data from the client in JSON format. I convert it to byte[]
using ObjectOutput.writeObject
and then send it to backend servlet via HTTP POST. It's not in production yet.
Should I just pass client's JSON as it is to backend? It seems more logical. But it's bigger in size.
Or should I use Google Protocol Buffers as stated in this benchmark article ?
Thank you!!!
© Stack Overflow or respective owner